* lisp/subr.el (y-or-n-p): New function, moved from src/fns.c. Use read-key.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 12 Sep 2010 14:35:37 +0000 (16:35 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 12 Sep 2010 14:35:37 +0000 (16:35 +0200)
commitb120f831e4e072e3f289ab09135aec747bba655b
tree2b118af53ab5c158048db35999c85ca3a3f3018c
parent77f9293deb9e5c3de7be78e938642e35980296df
* lisp/subr.el (y-or-n-p): New function, moved from src/fns.c.  Use read-key.
* src/fns.c (Fy_or_n_p): Move to lisp/subr.el.
(syms_of_fns): Don't defsubr Sy_or_n_p.
* src/lisp.h: Don't declare Fy_or_n_p.
* src/fileio.c (barf_or_query_if_file_exists): Fy_or_n_p -> y-or-n-p.
lisp/ChangeLog
lisp/subr.el
src/ChangeLog
src/fileio.c
src/fns.c
src/lisp.h